@import '../../style/index.scss';

.house-list {
  list-style: none;
  max-width: 1080px;
  margin: 0 auto;

  .house-item {
    display: flex;
    width: 100%;
    line-height: 1.4;
    padding: 10px;

    .item-block {
      width: 100%;

      .item {
        margin-bottom: 20px;
        border-bottom: 1px solid bisque;
        flex: 1;
        overflow: hidden;

        .title {
          flex: 1;
          font-size: 20px;
          margin-bottom: 10px;
        }

        .info {
          display: flex;
          justify-content: space-between;
          .number, .price {
            font-size: 12px;
            color: #ccc;
            padding-right: 5px;
          }
        }

        &:hover span {
          color: $primary;
        }

        &:hover {
          color: $primary;
          cursor: pointer;
          border-bottom: 1px solid $primary;
        }
      }
    }

    .time {
      width: 140px;
      padding-right: 10px;
      color: $primary;
    }

    @media screen and (max-width: 720px) {
      .time {
        display: none;
      }
    }
  }
}